package com.solo.eggsolo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * @description song
 * @author yu
 * @date 2022-06-16
 */
public class Song implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 歌曲id
    */
    private Integer id;

	/**
    * 歌曲名称
    */
    private String songName;
    /**
     * 歌词
     */
    private String songLyrics;

	/**
    * 作曲者
    */
    private String composer;

    /**
    * 作词者
    */
    private String lyricist;

    /**
    * 歌曲时长
    */
    private String duration;
    
    /**
     * 歌曲链接
     */
     private String url;
     
     /**
      * 发行时间
      */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date circulateTime;
     
     /**
      * 
      * @return
      */
     private Integer isRecommend;


    public Integer getIsRecommend() {
		return isRecommend;
	}

	public String getSongLyrics() {
		return songLyrics;
	}

	public void setSongLyrics(String songLyrics) {
		this.songLyrics = songLyrics;
	}

	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public Date getCirculateTime() {
		return circulateTime;
	}

	public void setCirculateTime(Date circulateTime) {
		this.circulateTime = circulateTime;
	}

	public Song() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

   
    public String getSongName() {
   		return songName;
   	}

   	public void setSongName(String songName) {
   		this.songName = songName;
   	}
    public String getComposer() {
        return composer;
    }

    public void setComposer(String composer) {
        this.composer = composer;
    }

    public String getLyricist() {
        return lyricist;
    }

    public void setLyricist(String lyricist) {
        this.lyricist = lyricist;
    }
 

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
    
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

	@Override
	public String toString() {
		return "Song [id=" + id + ", songName=" + songName + ", songLyrics=" + songLyrics + ", composer=" + composer
				+ ", lyricist=" + lyricist + ", duration=" + duration + ", url=" + url + ", circulateTime="
				+ circulateTime + ", isRecommend=" + isRecommend + "]";
	}

	



   	
}
